import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

// punlic offering fund
// import { PublicListComponent } from './list/list.component';
import { PublicDetailComponent } from './detail/detail.component';
import { RemouldComponent } from './remould/remould.component';
const routes: Routes = [
	// {
	// 	path: "product/new/:type/:index",
	// 	component: PublicListComponent
	// }, {
	// 	path: "product/todo/:type/:index",
	// 	component: PublicListComponent
	// }, 
	// {						
	// 	path: "product/ing/:type/:index",
	// 	component: PublicListComponent
	// },
	{
		path: "remould",
		component: RemouldComponent
	},
	// {						
	// 	path: ":index",
	// 	component: PublicListComponent
	// },
	{
		path: ":index/detail/:operate",
		component: PublicDetailComponent
	},
	{
		path: ":index/detail/:operate/:nFundNo",
		component: PublicDetailComponent
	},
];

@NgModule({
	imports: [RouterModule.forChild(routes)],
	exports: [RouterModule]
})
export class PublicOfferingRoutingModule { }
